import request from '@/utils/request'

// ······························· 【黑名单---start】 ····································
// 黑名单-列表
export function getUserBanList (params) {
  return request({
    url: '/user/banList',
    method: 'get',
    params:params
  })
}

// ······························· 【黑名单---end】 ····································

// ······························· 【刷子监控---start】 ····································
// 刷子监控-列表
export function getUserMonitorList (params) {
  return request({
    url: 'user/monitorList',
    method: 'get',
    params:params
  })
}

// 刷子监控-新增
export function postMonitorAdd(data) {
  return request({
    url: 'user/monitorAdd',
    method: 'post',
    data:data
  })
}
// 刷子监控-操作
export function putMonitorUpdate(data) {
  return request({
    url: 'user/monitorUpdate',
    method: 'put',
    data:data
  })
}

// 刷子监控-关联列表
export function getUserMonitorDetails (params) {
  return request({
    url: 'user/monitorDetails',
    method: 'get',
    params:params
  })
}

// ······························· 【刷子监控---end】 ····································